Platform Explorer / Nuxeo Platform 2021.25

Operation Workflow.SetNodeVariable (Set Node Variable)

Description

Set a workflow node variable given a name and the value in the context of a running workflow. To compute the value at runtime from the current context you should use an EL expression as the value. This operation works on any input type and return back the input as the output.
Operation id Workflow.SetNodeVariable
AliasesContext.SetWorkflowNodeVar
Category Workflow Context
Label Set Node Variable
Requires Workflow
Since

Parameters

Name Description Type Required Default value
name string yes  
value object no  

Signature

Inputs void
Outputs void

Implementation Information

Implementation Class Class: org.nuxeo.ecm.platform.routing.api.operation.SetWorkflowNodeVar
Contributing Component org.nuxeo.ecm.platform.routing.operations

JSON Definition

{
  "id" : "Workflow.SetNodeVariable",
  "aliases" : [ "Context.SetWorkflowNodeVar" ],
  "label" : "Set Node Variable",
  "category" : "Workflow Context",
  "requires" : "Workflow",
  "description" : "Set a workflow node variable given a name and the value in the context of a running workflow. To compute the value at runtime from the current context you should use an EL expression as the value. This operation works on any input type and return back the input as the output.",
  "url" : "Workflow.SetNodeVariable",
  "signature" : [ "void", "void" ],
  "params" : [ {
    "name" : "name",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "value",
    "description" : null,
    "type" : "object",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}